package com.cyc.service;

import com.cyc.entity.News;
import com.cyc.entity.User;

import java.util.List;

public interface NewsService {
    List<News> selectAll();
    News selectByPrimaryKey(Integer id);
    int deleteByPrimaryKey(Integer id);
    int insert(News record);
    int updateByPrimaryKey(News record);
}
